<?
global $db;

#HACK HACK HACK...
global $value;
$value = $params["fname"];

list($module,$params) = inc_incfile(basename(dirname(__FILE__))."/sub.php",$params);

if ($module == "folder") { header("Location: $value/"); die; }

return inc_incfile("$module/index.php",$params);
?>